<?php namespace Admin\Controller; 

use Hdphp\Controller\Controller;

//后台管理主页
class IndexController extends CommonController{
	
    /**
     * 首页模板的引入
     * @return [type] [description]
     */
    public function index(){
        if(!isset($_SESSION['info'])){
            go(U('Login/index'));
        }
     	$this->display();
    }

    /**
     * [welcome 欢迎页面]
     * @return [type] [description]
     */
    public function welcome(){
    	// View::make();
    	$this->display();
    }
}
